<?php /* Smarty version 2.6.2, created on 2011-09-17 19:58:25
         compiled from details.tpl */ ?>
<div class="MainContent">	
<?php echo '
<script type="text/javascript">
var xmlHttp;
function createXMLHttpRequest() {
	if (window.ActiveXObject) {
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	} else if (window.XMLHttpRequest) {
		xmlHttp = new XMLHttpRequest;
	} 
} 
function GetData(get_data, hId) {
	createXMLHttpRequest();
	var url="index.php?a=getdata&do="+get_data+"&lid="+hId;
	xmlHttp.open("GET", url, true);
	xmlHttp.onreadystatechange=CallBack;
	xmlHttp.send(null);
} 
function CallBack() {
	if (xmlHttp.readyState==1) {
		document.getElementById("data_type").innerHTML="<center>Loading...<img src=\\"images/loading.gif\\"></center>";
	} 
	if (xmlHttp.readyState==4 && xmlHttp.status==200) {
		document.getElementById("data_type").innerHTML="";
		document.getElementById("data_type").innerHTML=xmlHttp.responseText;
	} 
} 
function procVote()
{
  d = document.vote;
  if (!document.vote.email.value)
  {
    alert(\'Please, enter your E-Mail address!\');
    document.vote.email.focus();
    return false;
  }
  else
  {
    a = d.email.value.indexOf(\'@\');
    b = d.email.value.indexOf(\'@\', a+1);
    c = d.email.value.lastIndexOf(\'.\');
    if (c < a+1) { c = -1; }
    if (a == -1 || b != -1 || c <= a + 2 || a < 1 || c + 2 >= d.email.value.length || c + 4 < d.email.value.length)
    {
      alert(\'Please, enter a valid E-Mail Address\');
      d.email.focus();
      return false;
    }
  }

  return true;
}
</script>
'; ?>


	<div>
		<?php if ($this->_tpl_vars['group']['type'] == $this->_tpl_vars['premiumGroupId'] || $this->_tpl_vars['group']['type'] == $this->_tpl_vars['scamGroupId'] || $this->_tpl_vars['group']['type'] == $this->_tpl_vars['closeGroupId']): ?>
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "details_program2.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<?php endif; ?>
	</div>
	<div>
			<form>
				<input type="button" onclick="GetData('whois', '<?php echo $this->_tpl_vars['listing']['id']; ?>
')" value="Whois" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('traffic', '<?php echo $this->_tpl_vars['listing']['id']; ?>
')" value="Traffic Count" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('votes', '<?php echo $this->_tpl_vars['listing']['id']; ?>
')" value="Votes" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('button', '<?php echo $this->_tpl_vars['listing']['id']; ?>
')" value="Monitor Button" class="sbmt" style="width: 100px;">
			</form>
		<div id="data_type"></div>
	</div> 
</div>